package org.vectrics.project.task;

import java.util.Date;

import org.vectrics.common.db.RecordObject;
import org.vectrics.user.Person;

public class TaskResource implements RecordObject {
	private Long id = null;
	private String description = null;
	private Person person = null;
	private Task task = null;
	private boolean active = false;
	private Date dateStart = null;
	private Date dateEnd = null;
	
	public TaskResource() {
		super();
	}

	
	
	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}



	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}



	/**
	 * @return Returns the active.
	 */
	public boolean isActive() {
		return active;
	}

	/**
	 * @param active The active to set.
	 */
	public void setActive(boolean active) {
		this.active = active;
	}

	/**
	 * @return Returns the dateEnd.
	 */
	public Date getDateEnd() {
		return dateEnd;
	}

	/**
	 * @param dateEnd The dateEnd to set.
	 */
	public void setDateEnd(Date dateEnd) {
		this.dateEnd = dateEnd;
	}

	/**
	 * @return Returns the dateStart.
	 */
	public Date getDateStart() {
		return dateStart;
	}

	/**
	 * @param dateStart The dateStart to set.
	 */
	public void setDateStart(Date dateStart) {
		this.dateStart = dateStart;
	}

	/**
	 * @return Returns the person.
	 */
	public Person getPerson() {
		return person;
	}

	/**
	 * @param person The person to set.
	 */
	public void setPerson(Person person) {
		this.person = person;
	}

	/**
	 * @return Returns the task.
	 */
	public Task getTask() {
		return task;
	}

	/**
	 * @param task The task to set.
	 */
	public void setTask(Task task) {
		this.task = task;
	}



	/**
	 * @return Returns the description.
	 */
	public String getDescription() {
		return description;
	}



	/**
	 * @param description The description to set.
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	
}
